package com.kidgestures.utils;

public  class Randomizer {

	public static int generateItem(int type){
		
		switch(type){
		
		case 0:
			
			return generateRandomNumber();
			
		case 1:
			
			return generateRandomLetter();
					
		}
		
		return 0;
			

		
	}

	private static int  generateRandomLetter() {
		
		return (int) Math.floor(Math.random()*4+1);
		
	}

	private static int generateRandomNumber() {
		
		return (int) Math.floor(Math.random()*4+1);
		
	}
}
